package stud.aistar.util;

import java.util.List;

/**
 * *
 *
 * @ClassName :wangyu
 * @Description:layui工具类
 * @Author
 * @Date2019/10/1 13:16
 * @Version V1.0
 */
public class LayuiUtil<T> {

    private int code;

    private String message;

    private int count;

    private List<T> data;

    public LayuiUtil() {
    }

    public LayuiUtil(int code, String message, int count, List<T> data) {
        this.code = code;
        this.message = message;
        this.count = count;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
